package com.gwall.zk.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class MyController {

    @GetMapping("/index")
    public String index() {
        return "index";
    }

    @GetMapping("/one")
    public String one() {
        return "page1";
    }


    @GetMapping("/two")
    public String two() {
        return "page2";
    }

    @GetMapping("/three")
    @ResponseBody
    public String three() {
        return "page2";
    }

    @GetMapping("/excel")
    public String excel() {
        return "excel-01";
    }

    @GetMapping("/excelEvent")
    public String excelEvent() {
        return "excelEvent";
    }

}
